[FEATURE] Authentication class with some members

New Authentication class added which contains public methods for checking the request method (POST instead of GET) and ensuring the username, password, and XSRF token have been sent via that method.