Fix authentication tests now heartbeat is behind authentication

JAVA-1465