Add cucumber tests and add helpers for authentication spec