Adds tests for User authentication