Minor fixes

Some minor fixes and tidying as a result of testing.
- Log in page has an identifier for submit button
- Lessons library fails to the 'all lessons' view
Testing

Added new test cases and enhanced existing tests.
The automated unit testing covers lesson, report, login and admin
functionality.