Add flash message and tests for failed signin