Fixes Restler to send WWW-Authenticate header properly. Closes #317