Refactoring: divide ReportOptionsActivity into two separate activities for REST v1 and REST v2
Use basic auth instead of setting cookies for html viewers