added some tests and a shim for the sign-in form