add tests for authentication
compile amd-friendly version