Implemented a test to test reset password functionality

Rather large commit as had to implement functionality to, via an IMAP javax.mail API, log in and check for reset password email.
In this case the interface is expecting null, so not sure I see the problem here. It is not like I am going to call this method myself, it is called by the Selenium library.