Revert "Added hasAuthCode"

This reverts commit a1a88dd1ce87d07ebf3ba4e6577aef4eab8f6bdf.