Test for long passwords (as this surprisingly broke in older versions)

Change-Id: Id893501373d04d387c1fc7531808248123307d21
diff --git a/t/plugin/auth-oauth.t b/t/plugin/auth-oauth.t
index 802f9d2..e2ff229 100644
--- a/t/plugin/auth-oauth.t
+++ b/t/plugin/auth-oauth.t
@@ -119,6 +119,13 @@
   ->element_exists_not('aside.off')
   ;
 
+# Test for bug with long password
+$t->post_ok('/user/login' => form => {
+  handle_or_email => 'test',
+  pwd => 'kjskjhndkjndqknaskjnakjdnkjdankajdnkjdsankjdsakjdfkjahzroiuqzriudjoijdmlamdlkmdsalkmdl' })
+  ->status_is(302)
+  ->header_is('Location' => '/');
+
 $t->post_ok('/user/login' => form => { handle_or_email => 'test', pwd => 'fail' })
   ->status_is(302)
   ->header_is('Location' => '/');