authentication tests + implementation
reworked some test files, extended valid draft time for test