Added resource tests for login success / failure.