Fixes for signing in